-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DESENG-651 Update pr template, contributing guide #2570
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for helping us stay on top of documentation :)
|
||
|
||
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0). | ||
**User Guide update ticket (if applicable):** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for getting rid of that boilerplate! and I like the forward thinking with user guide ticket integration
- Widespread incorrect syntax use (using snake case for many variables in JS when it's not required) | ||
- Significant amount of repeition in code that can be condensed without much issue (code isn't DRY) * | ||
- Unnecessary function calls, overly verbose code * | ||
|
||
## Style Guide | ||
|
||
- Avoid using CSS directly. Instead, style through Material UI theming or with CSS-in-JS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed :)
CONTRIBUTING.md
Outdated
### MET Web | ||
|
||
- Be sure to make use of shared components found under `src/components/common`. Below is a non-exhaustive list of common app components: | ||
- `PrimaryButton`, `SecondaryButton`, `TertiaryButton`: Buttons that come with built-in MET theming and functionality |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The preferred way to use these is to import the one <Button> component from components/common and use variant=<"primary"|"secondary"|"tertiary"|undefined>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sharing that knowledge! I'll update
Quality Gate passedIssues Measures |
Issue #: https://citz-gdx.atlassian.net/browse/DESENG-651
Description of changes: